#pragma once
#define TRUE 1
#define FALSE 0
#define MAXDEEP 20

typedef int ElemType, Status, KeyType;
typedef struct BiTNode
{
	ElemType data;
	struct BiTNode *lchild, *rchild;
}BiTNode, *BiTree;

Status SearchBST(BiTree T, KeyType key, BiTree f, BiTree &p);
Status InsertBST(BiTree &T,ElemType e);
Status DeleteBST(BiTree &T,ElemType e);
Status DeleteBST(BiTree &p);
void print(BiTree T);
